package com.game.network.message;

/**
 * Gateway消息码
 */
public enum GatewayMessageCode {
    ConnectConfirm(1, "连接认证"),
    Heartbeat(2, "心跳消息"),
    ;
    private int messageId;
    private String desc;

    private GatewayMessageCode(int messageId, String desc) {
        this.messageId = messageId;
        this.desc = desc;
    }

    public int getMessageId() {
        return messageId;
    }

    public String getDesc() {
        return desc;
    }
}
